<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/*
    File: allow_query_string
    Contains the allow query string hook
*/

/*
    Function: allow_query_string
    Overrides CIs default behaviour to destroy $_GET
*/
function allow_query_string() {
    parse_str($_SERVER['QUERY_STRING'], $_GET);
    $_ci =& get_instance();
    foreach ($_GET as $key=>$val) $_GET[$key] = $_ci->input->xss_clean($val);
}

?>